package org.adream.account.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * user role多对多 中间表
 * @author sl
 *
 */
public class UserRoleLinkEntity implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4375055462709085848L;

	private UserEntity user;
	
	private RoleEntity role;
	
	private String uid;
	
	private String rleId;
	
	private String rleName;
	
	private Date mts;
	
	private int dr;

	public UserRoleLinkEntity(UserEntity user, RoleEntity role) {
		super();
		this.user = user;
		this.role = role;
	}

	public UserRoleLinkEntity() {
		super();
	}

	public UserEntity getUser() {
		return user;
	}

	public void setUser(UserEntity user) {
		this.user = user;
	}

	public RoleEntity getRole() {
		return role;
	}

	public void setRole(RoleEntity role) {
		this.role = role;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getRleId() {
		return rleId;
	}

	public void setRleId(String rleId) {
		this.rleId = rleId;
	}

	public String getRleName() {
		return rleName;
	}

	public void setRleName(String rleName) {
		this.rleName = rleName;
	}

	public Date getMts() {
		return mts;
	}

	public void setMts(Date mts) {
		this.mts = mts;
	}

	public int getDr() {
		return dr;
	}

	public void setDr(int dr) {
		this.dr = dr;
	}
}